package org.jeecg.modules.zcgl.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.modules.zcgl.entity.LeaseContractStandardRent;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class LeaseContractRenewVo {

    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "结束日期")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date endDate;

    @ApiModelProperty(value = "签约日期")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date signingDate;

    @ApiModelProperty(value = "月租金")
    private BigDecimal monthlyRent;

    @ApiModelProperty(value = "租金")
    private BigDecimal rent;

    @ApiModelProperty(value = "保证金")
    private BigDecimal cashDeposit;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ExcelCollection(name="合同分段租金信息", orderNum = "999")
    @ApiModelProperty(value = "合同分段租金信息")
    private List<LeaseContractStandardRent> leaseContractStandardRentList;
}
